package com.fubon.wloan.service;

import com.fubon.wloan.pojo.Msg;
import com.fubon.wloan.pojo.Trans;

import reactor.core.publisher.Mono;

public interface TransService {

    public  <T,V> Msg<T,V> parseByType(Trans msg);

    public  <T> Trans encodeByType(T t);

    public Mono<Trans> SaveCreditReqToCouchbase(Msg trans);

    public Mono<Trans> SaveConsumeReqToCouchbase(Msg trans);
}